<!doctype html>
<html class="no-js">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>会员中心_找芯网 - 帮你找最便宜的原装货！</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="/statics/zhaoxin/favicon.png">
  <link rel="apple-touch-icon-precomposed" href="/statics/zhaoxin/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="找芯网" />
  <link rel="stylesheet" href="/statics/AmazeUI/css/amazeui.css" />
  <link rel="stylesheet" href="/statics/zhaoxin/users.css">
  <script>
    //发送留言添加DOM
    function sendMessage() {
      //选择table标签的tbody标签
      var tr1 = document.querySelector("tbody")
      //克隆tbody标签内最后一个tr标签
      var tr2 = document.querySelector('tbody tr:last-child').cloneNode(true);
      //复制内容
      var ipt = document.querySelector(" .am-comment-bd input ")
      var ipt2 = document.querySelector(" .am-comment-bd textarea ")
      console.dir(ipt.value);
      console.dir(tr2, "tr2");
      tr2.children[2].innerText = ipt.value
      //a标签的内容替换掉
      //把克隆的tr标签添加的其父节点上
      tr1.appendChild(tr2)
      //选择table标签 并替换原来的tbody标签
      document.getElementById("tTable").appendChild(tr1);
      //结束
      ipt.value = ""
      ipt2.value = ""


    }
  </script>
</head>

<body>
  <header class="am-topbar admin-header">
    <div class="am-topbar-brand">
      <a href="/users/users.html"><strong>找芯网</strong></a> <small>会员中心</small>
    </div>
    <div class="header-search" id="header-search">
      <form class="am-topbar-form am-topbar-left am-form-inline" action="/search.html" method="GET" role="search">
        <div class="am-input-group am-input-group-sm">
          <input type="text" class="am-form-field" name="qs" placeholder="搜索">
          <span class="am-input-group-btn">
            <button type="submit" class="am-btn am-btn-warning"><span class="am-icon-search"></span></button>
          </span>
        </div>
      </form>
    </div>
    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
      <ul class="am-nav am-nav-pills am-topbar-right admin-header-list">
        <li><a href="/index.html"><span class="am-icon-home"></span> 网站首页</a></li>
        <li><a href="/carts.html" target="_blank"><span class="am-icon-shopping-cart"></span> 购物车 <span
              class="am-badge am-badge-warning" id="ajaxCartNum">1</span></a></li>
        <li><a href="/users.html">hh </a></li>
        <li><a href="javascript:;">退出</a></li>
      </ul>
    </div>
  </header>
  <div class="am-cf admin-main">
    <!-- sidebar start -->
    <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
      <div class="am-offcanvas-bar admin-offcanvas-bar">
        <ul class="admin-sidebar-list">
          <li class="admin-parent">
            <h3 class="am-cf"> 交易信息</h3>
            <ul class="admin-sidebar-sub am-in">
              <li><a href="/users/inquiry.html">我的询盘 </a></li>
              <!-- <li><a href="/users/bom.html" > 我的BOM</li> -->
              <li><a href="/users/orders.html"> 我的订单</a></li>
              <!-- <li><a href="/users/ordersinvoice.html" > 发票管理</a></li> -->
              <li><a href="/users/feedback.html" class="active"> 我的留言</a></li>
            </ul>
          </li>
          <li class="admin-parent">
            <h3 class="am-cf"> 会员信息 </h3>
            <ul class="admin-sidebar-sub am-in">
              <li><a href="/users/basicinfo.html" class="am-cf  "> 基本信息</a></li>
              <!-- <li><a href="/users/invoice.html"> 开票资料</a></li>
              <li><a href="/users/address.html"> 收货地址</a></li> -->
            </ul>
          </li>
          <li class="admin-parent">
            <h3 class="am-cf"> 客服专员 </h3>
            <ul class="admin-sidebar-sub am-in">
              <li>
                <span>
                  0755-83995002 </span>
              </li>
              <li>
                <span>
                  jason@zhaoxin.cn </span>
              </li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
    <!-- sidebar end -->
    <!-- content start -->
    <div class="admin-content">
      <div class="am-cf admin-here">
        <div class="am-fl am-cf am-text-lg"><a href="/users.html"><strong class="am-text-primary">会员中心</strong></a>
          <span class="am-text-sm">></span> <small>我的留言</small>
        </div>
      </div>
      <div class="am-g">
        <div class="am-u-sm-12 am-u-md-6">
          <div class="am-btn-toolbar">
            <div class="am-btn-group am-btn-group-sm">
              <a class="am-btn am-btn-default am-square " href="javascript:;">全部</a>
              <a class="am-btn am-btn-default am-square " href="javascript:;">留言</a>
              <a class="am-btn am-btn-default am-square " href="javascript:;">找货</a>
              <a class="am-btn am-btn-default am-square " href="javascript:;">售后</a>
              <a class="am-btn am-btn-default am-square " href="javascript:;">投诉</a>
            </div>
          </div>
        </div>
      </div>

      <div class="am-g">
        <div class="am-u-sm-12">
          <form class="am-form">
            <table id="tTable" class="am-table am-table-striped am-table-hover table-main">
              <thead>
                <tr>
                  <th class="table-sn">编号</th>
                  <th class="table-type">类型</th>
                  <th class="table-name">主题</th>
                  <th class="table-date">留言时间</th>
                  <th class="table-date">回复时间</th>
                  <th class="table-set">状态</th>
                </tr>
              </thead>
              <!-- 无数据 -->
              <!-- <tbody>
              </tbody> -->
              <!-- 有数据 -->
              <tbody>
                <tr>
                  <td>40518</td>
                  <td>留言</td>
                  <td>标题2</td>
                  <td>2023-01-05 16:29</td>
                  <td></td>
                  <td>
                    <font color="blue">待处理</font>
                  </td>
                </tr>
                <tr>
                  <td>40517</td>
                  <td>留言</td>
                  <td>标题1</td>
                  <td>2023-01-05 16:29</td>
                  <td></td>
                  <td>
                    <font color="blue">待处理</font>
                  </td>
                </tr>
              </tbody>
            </table>
            <!-- 列表分页 -->
            <div class="am-cf">
              <ul class="am-pagination am-pagination-centered">
                <!--  -->
                <li class="am-disabled"><a href="#">&laquo;</a></li>
                <!--  -->
                <!---->
                <li class=""><a href="#">1</a></li>
                <!---->
                <!--  -->
                <li class="am-disabled"><a href="#">&raquo;</a></li>
                <!--  -->
              </ul>
            </div>
            <input type="hidden" name="form_hash" value="1aed696d_108ed7" />
          </form>
        </div>
      </div>
      <div class="am-g">
        <div class="am-u-sm-12">
          <div class="am-comment-main">
            <form class="am-form am-form-horizontal" onsubmit='return false'>
              <div class="am-comment-bd">
                <p><input type="text" placeholder="写个标题吧……" name="title" style="width:400px;">
                <div class="am-alert am-hide am-u-sm-4">
                  <p></p>
                </div>
                </p>
                <p><textarea placeholder="有什么可以办到您…" name="message"></textarea></p>
                <div class="am-form-group">
                  <input type="hidden" name="act" value="add" />
                  <button class="am-btn am-btn-warning am-square am-btn-sm" onclick="sendMessage()"> 发送留言 </button>
                  <label class="am-radio-inline">留言类型：</label>
                  <label class="am-radio-inline"><input type="radio" name="typeid" value="0">留言</label>
                  <label class="am-radio-inline"><input type="radio" name="typeid" value="2">询价</label>
                  <label class="am-radio-inline"><input type="radio" name="typeid" value="3">售后</label>
                  <label class="am-radio-inline"><input type="radio" name="typeid" value="1">投诉</label>
                </div>
              </div>
              <input type="hidden" name="form_hash" value="1aed696d_108ed7" />
            </form>
          </div>
        </div>
      </div>
    </div>
    <!-- content end -->
  </div>

  <!--弹窗-->
  <div class="theme-popover-mask"></div>
  <div class="theme-popover">
    <div class="load">数据加载中…………</div>
  </div>


  <!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/statics/AmazeUI/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

  <!--[if (gte IE 9)|!(IE)]><!-->
  <script src="/statics/AmazeUI/js/jquery.min.js"></script>
  <!--<![endif]-->
  <script src="/statics/AmazeUI/js/amazeui.min.js"></script>
  <script src="/statics/zhaoxin/js/users.js"></script>
</body>

</html>